首页> 外文OA文献 >Learning Deterministic Regular Expressions for the Inference of Schemas from XML Data
【2h】

Learning Deterministic Regular Expressions for the Inference of Schemas from XML Data

机译:学习确定性正则表达式推理模式   来自XmL数据

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Inferring an appropriate DTD or XML Schema Definition (XSD) for a givencollection of XML documents essentially reduces to learning deterministicregular expressions from sets of positive example words. Unfortunately, thereis no algorithm capable of learning the complete class of deterministic regularexpressions from positive examples only, as we will show. The regularexpressions occurring in practical DTDs and XSDs, however, are such that everyalphabet symbol occurs only a small number of times. As such, in practice itsuffices to learn the subclass of deterministic regular expressions in whicheach alphabet symbol occurs at most k times, for some small k. We refer to suchexpressions as k-occurrence regular expressions (k-OREs for short). Motivatedby this observation, we provide a probabilistic algorithm that learns k-OREsfor increasing values of k, and selects the deterministic one that bestdescribes the sample based on a Minimum Description Length argument. Theeffectiveness of the method is empirically validated both on real world andsynthetic data. Furthermore, the method is shown to be conservative over thesimpler classes of expressions considered in previous work.
机译:为给定的XML文档集合推断适当的DTD或XML架构定义(XSD)实质上减少了从正例词集中学习确定性正则表达式。不幸的是,正如我们将要展示的那样,没有算法能够仅从正例中学习完整的确定性正则表达式。但是,在实际的DTD和XSD中出现的正则表达式使得每个字母符号仅出现很少的次数。这样,在实践中,它足以学习确定性正则表达式的子类,其中每个字母符号最多出现k次(对于小k而言)。我们将此类表达式称为k出现正则表达式(简称k-ORE)。受此观察结果的启发,我们提供了一种概率算法,该算法可学习k-OREs以增加k的值,并根据“最小描述长度”参数选择能最好地描述样本的确定性算法。该方法的有效性在现实世界和综合数据上都得到了经验验证。此外,该方法在先前工作中考虑的较简单的表达式类别上显示为保守的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号